<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="../common/EditUIHead.jsp"></jsp:include>
<title>权限组</title>
</head>
<body>
	<div id="main">
		<div position="center" style="width:250px">
			<form id="dataForm" action="${base }/permission/permissionGroup/save" method="post">
		  		<input type="hidden" id="dataId" name="id" value="${data.id}"/>
		    	<div>
		        	<table border="0" cellpadding="0" cellspacing="0">
		        		<tr>
		                    <td width="60px">父节点：</td>
		                    <td>
		                    	<div class="f7" id="parent" dataPickerUrl="${base}/permission/permissionGroup/permissionGroupDataPicker" width="750px" height="500px" title="权限分组" >
			                		<input dataPicker="value"  name="parent.id" value="${data.parent.id}" id="parent.id" type="hidden" readOnly="readOnly" />
			                		<input dataPicker="name" ondblclick="openDataPicker('parent')" value="${data.parent.name}" name="parent.name" id="parent.name" type="text"/>
				        			<strong onclick="clearDataPicker('parent')"></strong>
				        			<span class="p_hov" onclick="openDataPicker('parent')"></span>
				        		</div>
		                    </td>
		                </tr>
		                <tr>
		                    <td width="60px"><span style="color:red">*</span>编码：</td>
		                    <td><input name="number" id="number" validate="{required:true,maxlength:15}" type="text" value="${data.number}"/></td>
		                </tr>
		            	<tr>
		                    <td width="60px"><span style="color:red">*</span>名称：</td>
		                    <td><input name="name" id="name" validate="{required:true,maxlength:20}" type="text" value="${data.name}"/></td>
		                </tr>
		        	</table>
				</div>
			</form>
		</div>
	</div>
</body>
</html>